package com.cn.lyl.dao;

import com.cn.lyl.model.LawyerRoleModel;
import com.cn.lyl.model.LawyerRoleModel;

import java.util.List;

public interface LawyerRoleDao {

    int add(LawyerRoleModel LawyerRoleModel);

    int update(LawyerRoleModel LawyerRoleModel);

    int delete(LawyerRoleModel LawyerRoleModel);

    LawyerRoleModel findById(int id);

    LawyerRoleModel findByName(LawyerRoleModel lawyerRoleModel);

    List<LawyerRoleModel> findAll();
}
